package com.unittec.zk.sdk.auth.request;

import java.io.Serializable;
import java.util.Map;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author jtq
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("EXCEL导入")
public class Req101921 implements Serializable {

    private static final long serialVersionUID = 8729356479119655115L;
    @NotBlank(message = "导入类型不能为空")
    @ApiModelProperty("导入类型")
    private String consumer;

    @NotBlank(message = "导入文件URL不能为空")
    @ApiModelProperty("导入文件URL")
    private String filePath;

    @NotBlank(message = "导入文件key不能为空")
    @ApiModelProperty("导入文件key")
    private String fileKey;

    @NotBlank(message = "导入文件名称不能为空")
    @ApiModelProperty("导入文件名称")
    private String fileName;

    @NotNull(message = "是否同步导入不能为空")
    @ApiModelProperty("是否同步导入")
    private Boolean async;

    @ApiModelProperty("导入映射实体")
    private String type;

    @ApiModelProperty("导入参数")
    private Map<String, Object> paramMap;

    /**
     * 导入任务ID
     */
    private String importTaskId;

    private String appId;

    private String ip;

    private String appCode;

    private String requestId;

    private String token;
    /**
     * 租户Id
     */
    private String tenantId;
    /**
     * 创建者
     */
    private String user;

    private String userName;
}
